package cn.stylefeng.guns.modular.gridsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

/**
 * 健康趋势表
 *
 * @author rdp
 * @date 2022/12/30 15:03
 */
@Data
@Builder
@TableName("biz_health_trends")
public class BizHealthTrends {

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 设备主键
     */
    private Integer deviceId;

    /**
     * 分数
     */
    private Float avgScore;

    /**
     * 统计时间
     */
    private Date statisticalTime;

}
